app.controller("reportRecordDetailCtrl", ["$scope",'datepickerPopupConfig', 'datepickerConfig','ReportApi','$location','sweetAlertUtil',
    function($scope,datepickerPopupConfig, datepickerConfig,ReportApi,$location,sweetAlertUtil) {
        $scope.code = $location.search().code;
        $scope.promptly = {"Y":"已备案","N":"未备案"}
        $scope.isTrue = {"Y":"合格","N":"不合格"}
        ReportApi.getReportShow($scope.code).then(function(data){
            if(data.code == 200){
                $scope.result = data.result
            }
        },function(){})
    }
]);
